Python 3.12 compatibility#58
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
…common (compatible w/ both 3.11 and 3.12)
…ources._common (compatible w/ both 3.11 and 3.12)" This reverts commit b39eaef.
…ed importlib.resources._common.get_package()
|
@joelaforet, combing through I've made headway in some places but run into problems on others. Diving into the leads given in #58, the specific break was due to deprecation of As far as other dependencies, mBuild seems to be causing an inordinate amount of issues, including:
There also seems to be some sensitivity to installation order, i.e. whether pip-installing polymerist then installing mbuild and or creating an env from a conda.yml and pip-installing afterwards. Digging into that more will take time and might require some extra eyes, but I'm hoping resolving that will be the trickiest blocker to getting 3.12 support in. It's not clear to me as-writing where other incompatibilities may lie; for now, I've removed all upper version pins in the shipped env .ymls and will add them back in if necessary. |
Description
Update package code and build config to allow use with Python 3.12+ as Python 3.11 enters end-of-life.
Todos
Notable points that this PR has either accomplished or will accomplish.
pip install polymeristwithout dependency conflicts in envirnment with at least Python 3.12Questions
Status